package com.tte.common.anno.DictConver;

import java.io.Serializable;
import java.util.Date;

/**
 * user
 * @author 
 */
public class UserVo implements Serializable {
    /**
     * 主键ID
     */
    private String id;

    /**
     * 部门ID
     */
    private String cDeptId;

    /**
     * 工号
     */
    private String cCode;

    /**
     * 登录名
     */
    private String cLoginName;

    /**
     * MD5加密密码
     */
    private String cLoginPass;

    /**
     * 姓名
     */
    private String cName;

    /**
     * 性别(0、未知的性别 1、男性 2、女性 9未说明的性别)
     */
    @DictConver(dictName = "性别")
    private Integer iSex;
    private String iSexText;

    /**
     * 出生日期
     */
    private Date dBirthday;

    /**
     * 登录失败次数
     */
    private Integer iLoginFail;

    /**
     * 是否锁定0锁定-1正常
     */
    private Integer iLock;

    /**
     * 数据标识
     */
    private Integer iFlag;

    /**
     * 创建时间
     */
    private Date dCreated;

    /**
     * 修改时间
     */
    private Date dModified;

    /**
     * 编辑者
     */
    private String cEditer;

    /**
     * 创建者
     */
    private String cCreater;

    /**
     * 头像地址
     */
    private String cPhotoUrl;

    /**
     * 地址
     */
    private String cAddress;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getcDeptId() {
        return cDeptId;
    }

    public void setcDeptId(String cDeptId) {
        this.cDeptId = cDeptId;
    }

    public String getcCode() {
        return cCode;
    }

    public void setcCode(String cCode) {
        this.cCode = cCode;
    }

    public String getcLoginName() {
        return cLoginName;
    }

    public void setcLoginName(String cLoginName) {
        this.cLoginName = cLoginName;
    }

    public String getcLoginPass() {
        return cLoginPass;
    }

    public void setcLoginPass(String cLoginPass) {
        this.cLoginPass = cLoginPass;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public Integer getiSex() {
        return iSex;
    }

    public void setiSex(Integer iSex) {
        this.iSex = iSex;
    }

    public Date getdBirthday() {
        return dBirthday;
    }

    public void setdBirthday(Date dBirthday) {
        this.dBirthday = dBirthday;
    }

    public Integer getiLoginFail() {
        return iLoginFail;
    }

    public void setiLoginFail(Integer iLoginFail) {
        this.iLoginFail = iLoginFail;
    }

    public Integer getiLock() {
        return iLock;
    }

    public void setiLock(Integer iLock) {
        this.iLock = iLock;
    }

    public Integer getiFlag() {
        return iFlag;
    }

    public void setiFlag(Integer iFlag) {
        this.iFlag = iFlag;
    }

    public Date getdCreated() {
        return dCreated;
    }

    public void setdCreated(Date dCreated) {
        this.dCreated = dCreated;
    }

    public Date getdModified() {
        return dModified;
    }

    public void setdModified(Date dModified) {
        this.dModified = dModified;
    }

    public String getcEditer() {
        return cEditer;
    }

    public void setcEditer(String cEditer) {
        this.cEditer = cEditer;
    }

    public String getcCreater() {
        return cCreater;
    }

    public void setcCreater(String cCreater) {
        this.cCreater = cCreater;
    }

    public String getcPhotoUrl() {
        return cPhotoUrl;
    }

    public void setcPhotoUrl(String cPhotoUrl) {
        this.cPhotoUrl = cPhotoUrl;
    }

    public String getcAddress() {
        return cAddress;
    }

    public void setcAddress(String cAddress) {
        this.cAddress = cAddress;
    }

    public UserVo() {
    }

    public String getiSexText() {
        return iSexText;
    }

    public void setiSexText(String iSexText) {
        this.iSexText = iSexText;
    }

    public UserVo(String cCode, String cLoginName, String cName, Integer iSex, Date dBirthday) {
        this.cCode = cCode;
        this.cLoginName = cLoginName;
        this.cName = cName;
        this.iSex = iSex;
        this.dBirthday = dBirthday;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", cDeptId='" + cDeptId + '\'' +
                ", cCode='" + cCode + '\'' +
                ", cLoginName='" + cLoginName + '\'' +
                ", cLoginPass='" + cLoginPass + '\'' +
                ", cName='" + cName + '\'' +
                ", iSex=" + iSex +
                ", dBirthday=" + dBirthday +
                ", iLoginFail=" + iLoginFail +
                ", iLock=" + iLock +
                ", iFlag=" + iFlag +
                ", dCreated=" + dCreated +
                ", dModified=" + dModified +
                ", cEditer='" + cEditer + '\'' +
                ", cCreater='" + cCreater + '\'' +
                ", cPhotoUrl='" + cPhotoUrl + '\'' +
                ", cAddress='" + cAddress + '\'' +
                ", iSexText='" + iSexText + '\'' +
                '}';
    }
}